<template>
	<h1>物业管理</h1>
	<button @click="xiaoquClick">小区管理</button><br />
	<button @click="parkClick">车位管理</button><br />
 <router-view/>
</template>

<script>
	import {
		useRouter
	} from 'vue-router'
	export default {
		data() {
			return {
				router: useRouter()
			}
		},
		methods: {
			xiaoquClick() {
				this.router.push("/XiaoQu")
			},
			parkClick() {
				this.router.push("/Park")
			}
		}
	}
</script>

<style>
</style>